const debug = process.env.NODE_ENV === "development";
const CommonSetting = window.CommonSetting;

// const urlPath = debug ? "http://api.dev" : "http://api.";

export default {
    // 服务器地址
    server: CommonSetting.apiServer,

    // ajax相关配置
    ajaxDebug: debug,
    ajaxResponseType: "json",
    ajaxTimeout: 20000,
    ajaxCustomHeader: {
        "x-json-datetime": "yyyy-MM-dd HH:mm:ss",
        "x-json-casing": "Camel",
        "x-json-behaviors": "ignores:default indented",
    },

    pageSize: 15,
};
